//
//  CYGeRenZhuYe_XiangMuHaoTableViewCell1.m
//  cyydt
//
//  Created by chu on 2019/1/29.
//  Copyright © 2019 chu. All rights reserved.
//

#import "CYGeRenZhuYe_XiangMuHaoTableViewCell1.h"

@implementation CYGeRenZhuYe_XiangMuHaoTableViewCell1

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setModel:(CYProjectModel *)model{
    _model = model;
    
    self.hangyeLabel.text = model.big_catname;
    if ([model.funds isEqualToString:@"0"]) {
        self.feiyongLabel.text = @"全部";
    }else if ([model.funds isEqualToString:@"10"]){
        self.feiyongLabel.text = @"3万以下";
    }else if ([model.funds isEqualToString:@"15"]){
        self.feiyongLabel.text = @"3-8万";
    }else if ([model.funds isEqualToString:@"5"]){
        self.feiyongLabel.text = @"5-10万";
    }else if ([model.funds isEqualToString:@"6"]){
        self.feiyongLabel.text = @"10-20万";
    }else if ([model.funds isEqualToString:@"11"]){
        self.feiyongLabel.text = @"20万以上";
    }
    self.haopingLabel.text = [NSString stringWithFormat:@"%@%%",model.ratio_sg];
    self.xingquLabel.text = [model.gbooks stringValue];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
